package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description 课程不存在异常
 * @author 勾新杰
 * @version 1.0
 * @date 2024/12/20 17:39
 */
public class CourseNotFoundException extends XCPlusBaseException {

    CourseNotFoundException() {
        super(ContentError.COURSE_NOT_FOUND.getErrMessage());
    }

    public static void cast(){
        throw new CourseNotFoundException();
    }
}
